package com.heatup.apt.model.coach;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 教练评论表
 *
 */
@TableName("coach_comment")
public class CoachComment implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 教练评论表主键 */
	@TableId
	private Long id;

	/** 课程ID */
	@TableField(value = "course_id")
	private Integer courseId;

	/** 课时序号 (当前课程的第几节课) */
	@TableField(value = "course_number")
	private Integer courseNumber;

	/** 用户ID */
	@TableField(value = "user_id")
	private Integer userId;

	/** 教练对用户的评论 */
	private String comment;

	/** 评论标签以,分隔 */
	@TableField(value = "comment_attr")
	private String commentAttr;

	/** 评星 (1-5) */
	@TableField(value = "comment_star")
	private Integer commentStar;

	/** 教练评论的图片 */
	@TableField(value = "comment_img_url")
	private String commentImgUrl;

	/** 创建人 */
	@TableField(value = "created_by")
	private Integer createdBy;

	/** 创建时间 */
	@TableField(value = "created_time")
	private Date createdTime;

	/** 更新人 */
	@TableField(value = "updated_by")
	private Integer updatedBy;

	/** 更新时间 */
	@TableField(value = "updated_time")
	private Date updatedTime;

	/** 乐观锁 */
	private Integer version;


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getCourseId() {
		return this.courseId;
	}

	public void setCourseId(Integer courseId) {
		this.courseId = courseId;
	}

	public Integer getCourseNumber() {
		return this.courseNumber;
	}

	public void setCourseNumber(Integer courseNumber) {
		this.courseNumber = courseNumber;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getCommentAttr() {
		return this.commentAttr;
	}

	public void setCommentAttr(String commentAttr) {
		this.commentAttr = commentAttr;
	}

	public Integer getCommentStar() {
		return this.commentStar;
	}

	public void setCommentStar(Integer commentStar) {
		this.commentStar = commentStar;
	}

	public String getCommentImgUrl() {
		return this.commentImgUrl;
	}

	public void setCommentImgUrl(String commentImgUrl) {
		this.commentImgUrl = commentImgUrl;
	}

	public Integer getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Integer getUpdatedBy() {
		return this.updatedBy;
	}

	public void setUpdatedBy(Integer updatedBy) {
		this.updatedBy = updatedBy;
	}

	public Date getUpdatedTime() {
		return this.updatedTime;
	}

	public void setUpdatedTime(Date updatedTime) {
		this.updatedTime = updatedTime;
	}

	public Integer getVersion() {
		return this.version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

}
